package review.cider;

public class StaticTest {
    public static void main(String[] args) {
        new Fruit().print();
    }
}

class Fruit{
    static {
        num =1;
        System.out.println("static block");
    }
    static int num=2;
    Fruit(){
        System.out.println("constructor block");
    }
    public void print(){
        System.out.println("num="+num);
    }

}
